import { createRouter, createWebHashHistory } from "vue-router";
import InfoPage from "../views/InfoPage.vue";
import SettingPage from "../views/SettingPage.vue";
import RootPage from "../views/RootPage.vue";
import SearchingPage from "../views/SearchingPage.vue";

const routes = [
    {
        path : "/",
        name : "rootpage",
        component : RootPage
    },
    {
        path : "/settingpage",
        name : "settingpage",
        component : SettingPage
    },
    {
        path : "/infopage",
        name : "infopage",
        component : InfoPage
    },
    {
        path : "/searchingpage",
        name : "searchingpage",
        component : SearchingPage
    }
]

const router = createRouter({
    history : createWebHashHistory(),
    routes
})

export default router;